package de.acagamics.roteschlupfmuetze.data;

import java.util.LinkedList;

import de.acagamics.roteschlupfmuetze.RoteSchlupfmuetze;
import de.acagamics.roteschlupfmuetze.core.LevelObject;

public class LevelTestData {
	public LevelTestData() {
	}
	
	public LevelData getTestLevel() {
		LevelData res = new LevelData();
		res.setLevelNumber(1);
		LinkedList<LevelObject> objects = new LinkedList<LevelObject>();
		LevelObject e = new LevelObject();
		e.setName("rope1");
		e.setClickable(true);
		e.setClickAction("inventar");
		e.setHeight(50);
		e.setWidth(50);
		e.setZimage("de/acagamics/roteschlupfmuetze/dummy/rope_world_sample.png");
		e.setImage_inventory("de/acagamics/roteschlupfmuetze/dummy/rope_inv_sample.png");
		e.setPosX(500);
		e.setPosY(300);
		e.setVisible(true);
		objects.add(e );
		LevelObject e2 = new LevelObject();
		e2.setName("rope2");
		e2.setClickable(true);
		e2.setClickAction("combinable");
		//e.setHeight(50);
		e2.setZimage("de/acagamics/roteschlupfmuetze/dummy/rope_world_sample.png");
		//e.setWidth(50);
		e2.setPosX(400);
		e2.setPosY(150);
		e2.setVisible(true);
		objects.add(e2 );
		res.setObjects(objects);
		e2.scaleImage(0.5);
		return res;
	}
	
	public LevelData getTestLevel2() {
		LevelData res = new LevelData();
		res.setLevelNumber(2);
		LinkedList<LevelObject> objects = new LinkedList<LevelObject>();
		LevelObject e = new LevelObject();
		e.setName("rope1");
		e.setClickable(true);
		e.setClickAction("inventar");
		//e.setHeight(50);
		e.setZimage("de/acagamics/roteschlupfmuetze/dummy/rope_world_sample.png");
		e.setImage_inventory("de/acagamics/roteschlupfmuetze/dummy/rope_inv_sample.png");
		//e.setWidth(50);
		e.setPosX(100);
		e.setPosY(400);
		e.setVisible(true);
		objects.add(e );
		LevelObject e2 = new LevelObject();
		e2.setName("rope2");
		e2.setClickable(true);
		e2.setClickAction("inventar");
		//e.setHeight(50);
		e2.setZimage("de/acagamics/roteschlupfmuetze/dummy/rope_world_sample.png");
		//e.setWidth(50);
		e2.setPosX(400);
		e2.setPosY(450);
		e2.setVisible(true);
		objects.add(e2 );
		res.setObjects(objects);
		return res;
	}
	
	public LevelData getTestLevel3() {
		LevelData res = new LevelData();
		res.setLevelNumber(3);
		LinkedList<LevelObject> objects = new LinkedList<LevelObject>();
		LevelObject e = new LevelObject();
		e.setName("rope1");
		e.setClickable(true);
		e.setClickAction("inventar");
		//e.setHeight(50);
		e.setZimage("de/acagamics/roteschlupfmuetze/dummy/rope_world_sample.png");
		e.setImage_inventory("de/acagamics/roteschlupfmuetze/dummy/rope_inv_sample.png");
		//e.setWidth(50);
		e.setPosX(300);
		e.setPosY(300);
		e.setVisible(true);
		objects.add(e );
		LevelObject e2 = new LevelObject();
		e2.setName("rope2");
		e2.setClickable(true);
		e2.setClickAction("load");
		//e.setHeight(50);
		e2.setZimage("de/acagamics/roteschlupfmuetze/dummy/rope_world_sample.png");
		//e.setWidth(50);
		e2.setPosX(1100);
		e2.setPosY(150);
		e2.setVisible(true);
		objects.add(e2 );
		res.setObjects(objects);
		return res;
	}
	

	public LevelData getIntro() {
		LevelData res = new LevelData();
		res.setLevelNumber(0);
		res.setPitSizeX(6);
		res.setPitSizeY(4);
		res.setDrop(false);
		LinkedList<LevelObject> objects = new LinkedList<LevelObject>();
		LevelObject o = new LevelObject();
		o.setClickable(false);	
		o.setPosX(200);
		o.setPosY(250);
		o.setName("wolve");
		//o.setHeight(200);
		//o.setWidth(400);
		o.setZimage("de/acagamics/roteschlupfmuetze/special/special_wolve_left.png");
		o.scaleImage(1.5);
		
		LevelObject o2 = new LevelObject();
		o2.setClickable(false);	
		o2.setPosX(200);
		o2.setPosY(250);
		o2.setName("wolve");
		o2.setHeight(80);
		o2.setWidth(80);
		o2.setZimage("de/acagamics/roteschlupfmuetze/inventory/inventory_basket.png");
		o2.setImage_inventory("de/acagamics/roteschlupfmuetze/inventory/inventory_basket.png");
		//o.scaleImage(1.5);
		
		LevelObject logo = new LevelObject();
		logo.setClickable(false);
		logo.setPosX(20);
		logo.setPosY(350);
		logo.setName("Logo");
		logo.setZimage("de/acagamics/roteschlupfmuetze/game_logo.png");
		logo.setWidth(1800);
		logo.setHeight(618);
		logo.scaleImage(0.2);
		
		objects.add(o);
		objects.add(o2);
		objects.add(logo);
		
		res.setObjects(objects);
		
		return res;
	}
	
	public LevelData getCredits() {
		LevelData res = new LevelData();
		res.setLevelNumber(-1);
		res.setPitSizeX(6);
		res.setPitSizeY(4);
		res.setDrop(true);
		LinkedList<LevelObject> objects = new LinkedList<LevelObject>();
		
		LevelObject logo = new LevelObject();
		logo.setClickable(false);
		logo.setPosX(10);
		logo.setPosY(350);
		logo.setName("Logo");
		logo.setZimage("de/acagamics/roteschlupfmuetze/game_logo.png");
		logo.setWidth(1800);
		logo.setHeight(618);
		logo.scaleImage(0.2);
		objects.add(logo);
		
		double factor = 0.3;
		int h = 40;
		
		LevelObject o = new LevelObject();
		o.setClickable(false);
		o.setPosX(200);
		o.setPosY(h);
		o.setName("credit 1");
		o.setZimage("de/acagamics/roteschlupfmuetze/credits/credits_enrico.png");
		o.setWidth(1600);
		o.setHeight(610);
		o.scaleImage(factor);
		objects.add(o);
		
		o = new LevelObject();
		o.setClickable(false);
		o.setPosX(200);
		o.setPosY(h);
		o.setName("credit 2");
		o.setZimage("de/acagamics/roteschlupfmuetze/credits/credits_tim.png");
		o.setWidth(1624);
		o.setHeight(616);
		o.scaleImage(factor);
		objects.add(o);
		
		o = new LevelObject();
		o.setClickable(false);
		o.setPosX(200);
		o.setPosY(30);
		o.setName("credit 3");
		o.setZimage("de/acagamics/roteschlupfmuetze/credits/credits_lars.png");
		o.setWidth(1066);
		o.setHeight(630);
		o.scaleImage(0.37);
		objects.add(o);
		
		o = new LevelObject();
		o.setClickable(false);
		o.setPosX(200);
		o.setPosY(h);
		o.setName("credit 4");
		o.setZimage("de/acagamics/roteschlupfmuetze/credits/credits_svenja.png");
		o.setWidth(1368);
		o.setHeight(586);
		o.scaleImage(factor);
		objects.add(o);
		
		res.setObjects(objects);
		
		return res;
	}
	
	public LevelData getLevel1() {
		LevelData res = new LevelData();
		res.setLevelNumber(1);
		LinkedList<LevelObject> objects = new LinkedList<LevelObject>();
		
		LevelObject e = new LevelObject();
		e.setName("rope");
		e.setClickable(true);
		e.setClickAction("inventar");
		e.setHeight(50);
		e.setWidth(50);
		e.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_rope.png");
		e.setImage_inventory("de/acagamics/roteschlupfmuetze/inventory/inventory_rope.png");
		e.setPosX(90);
		e.setPosY(-13);
		e.setVisible(true);
		objects.add(e );
		
		LevelObject e2 = new LevelObject();
		e2.setName("crate");
		e2.setClickable(true);
		e2.setClickAction("combinable");
		e2.setHeight(140);
		e2.setWidth(210);
		e2.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_crate.png");
		e2.setPosX(40);
		e2.setPosY(150);
		e2.setVisible(true);
		objects.add(e2 );
		
		LevelObject e3 = new LevelObject();
		e3.setName("rope_climp");
		e3.setClickable(false);
		e3.setClickAction("action");
		e3.setHeight(340);
		e3.setWidth(50);
		e3.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_rope_hooked.png");
		e3.setPosX(65);
		e3.setPosY(22);
		e3.setVisible(false);
		objects.add(e3 );
		
		res.setObjects(objects);
		return res;
	}

	public LevelData getLevel2() {
		LevelData res = new LevelData();
		res.setLevelNumber(2);
		LinkedList<LevelObject> objects = new LinkedList<LevelObject>();
		
		LevelObject e = new LevelObject();
		e.setName("rope");
		e.setClickable(true);
		e.setClickAction("inventar");
		e.setHeight(50);
		e.setWidth(50);
		e.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_rope.png");
		e.setImage_inventory("de/acagamics/roteschlupfmuetze/inventory/inventory_rope.png");
		e.setPosX(90);
		e.setPosY(-13);
		e.setVisible(true);
		objects.add(e );
		
		LevelObject e2 = new LevelObject();
		e2.setName("crate");
		e2.setClickable(true);
		e2.setClickAction("combinable");
		e2.setHeight(140);//170
		e2.setWidth(210);//280
		e2.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_crate.png");
		e2.setPosX(40);//20
		e2.setPosY(150);
		e2.setVisible(true);
		objects.add(e2 );
		
		LevelObject e3 = new LevelObject();
		e3.setName("button");
		e3.setClickable(false);
		e3.setClickAction("action");
		e3.setHeight(30);
		e3.setWidth(30);
		e3.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_button.png");
		e3.setPosX(50);
		e3.setPosY(0);
		e3.setVisible(true);
		objects.add(e3 );
		
		LevelObject e4 = new LevelObject();
		e4.setName("gras");
		e4.setClickable(true);
		e4.setClickAction("combinable");
		e4.setHeight(35);
		e4.setWidth(60);
		e4.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_overhang.png");
		e4.setPosX(95);
		e4.setPosY(260);
		e4.setVisible(false);
		objects.add(e4 );
		
		LevelObject e5 = new LevelObject();
		e5.setName("rope_climp");
		e5.setClickable(false);
		e5.setClickAction("action");
		e5.setHeight(340);
		e5.setWidth(50);
		e5.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_rope_hooked.png");
		e5.setPosX(65);
		e5.setPosY(22);
		e5.setVisible(false);
		objects.add(e5 );
		
		res.setObjects(objects);
		return res;
	}
	
	public LevelData getLevel3() {
		LevelData res = new LevelData();
		res.setLevelNumber(3);
		LinkedList<LevelObject> objects = new LinkedList<LevelObject>();
		
		LevelObject e3 = new LevelObject();
		e3.setName("rope");
		e3.setClickable(true);
		e3.setClickAction("inventar");
		e3.setHeight(50);
		e3.setWidth(50);
		e3.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_rope.png");
		e3.setImage_inventory("de/acagamics/roteschlupfmuetze/inventory/inventory_rope.png");
		e3.setPosX(90);
		e3.setPosY(-13);
		e3.setVisible(true);
		objects.add(e3 );
		
		LevelObject e4 = new LevelObject();
		e4.setName("crate");
		e4.setClickable(true);
		e4.setClickAction("combinable");
		e4.setHeight(140);
		e4.setWidth(210);
		e4.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_crate.png");
		e4.setPosX(40);
		e4.setPosY(150);
		e4.setVisible(true);
		objects.add(e4 );
		
		LevelObject e5 = new LevelObject();
		e5.setName("button");
		e5.setClickable(false);
		e5.setClickAction("action");
		e5.setHeight(30);
		e5.setWidth(30);
		e5.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_button.png");
		e5.setPosX(50);
		e5.setPosY(0);
		e5.setVisible(true);
		objects.add(e5 );
		
		LevelObject e2 = new LevelObject();
		e2.setName("gras");
		e2.setClickable(true);
		e2.setClickAction("combinable");
		e2.setHeight(35);
		e2.setWidth(60);
		e2.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_overhang.png");
		e2.setImage_inventory("de/acagamics/roteschlupfmuetze/acagamics_logo.png");
		e2.setPosX(95);
		e2.setPosY(260);
		e2.setVisible(false);
		objects.add(e2 );
		
		LevelObject e = new LevelObject();
		e.setName("bunny");
		e.setClickable(true);
		e.setClickAction("action");
		e.setHeight(50);
		e.setWidth(50);
		e.setZimage("de/acagamics/roteschlupfmuetze/special/special_rabbit.png");
		e.setPosX(100);
		e.setPosY(0);
		e.setVisible(true);
		objects.add(e );	
		
		LevelObject e6 = new LevelObject();
		e6.setName("rope_climp");
		e6.setClickable(false);
		e6.setClickAction("action");
		e6.setHeight(340);
		e6.setWidth(50);
		e6.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_rope_hooked.png");
		e6.setPosX(65);
		e6.setPosY(22);
		e6.setVisible(false);
		objects.add(e6);
		
		res.setObjects(objects);
		return res;
	}
	
	public LevelData getLevel4() {
		LevelData res = new LevelData();
		res.setLevelNumber(4);
		LinkedList<LevelObject> objects = new LinkedList<LevelObject>();
		
		LevelObject e = new LevelObject();
		e.setName("rope");
		e.setClickable(true);
		e.setClickAction("inventar");
		e.setHeight(50);
		e.setWidth(50);
		e.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_rope.png");
		e.setImage_inventory("de/acagamics/roteschlupfmuetze/inventory/inventory_rope.png");
		e.setPosX(90);
		e.setPosY(-13);
		e.setVisible(true);
		objects.add(e );
		
		LevelObject e2 = new LevelObject();
		e2.setName("crate");
		e2.setClickable(true);
		e2.setClickAction("combinable");
		e2.setHeight(140);//170
		e2.setWidth(210);//280
		e2.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_crate.png");
		e2.setPosX(40);//20
		e2.setPosY(150);
		e2.setVisible(true);
		objects.add(e2 );
		
		LevelObject e3 = new LevelObject();
		e3.setName("button");
		e3.setClickable(false);
		e3.setClickAction("action");
		e3.setHeight(30);
		e3.setWidth(30);
		e3.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_button.png");
		e3.setPosX(50);
		e3.setPosY(0);
		e3.setVisible(true);
		objects.add(e3 );
		
		LevelObject e4 = new LevelObject();
		e4.setName("axe");
		e4.setClickable(true);
		e4.setClickAction("inventar");
		e4.setHeight(75);
		e4.setWidth(50);
		e4.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_axe.png");
		e4.setImage_inventory("de/acagamics/roteschlupfmuetze/inventory/inventory_axe.png");
		e4.setPosX(94);
		e4.setPosY(85);
		e4.setVisible(true);
		objects.add(e4 );
		
		LevelObject e5 = new LevelObject();
		e5.setName("rope_climp");
		e5.setClickable(false);
		e5.setClickAction("action");
		e5.setHeight(340);
		e5.setWidth(50);
		e5.setZimage("de/acagamics/roteschlupfmuetze/objects/objects_rope_hooked.png");
		e5.setPosX(65);
		e5.setPosY(22);
		e5.setVisible(false);
		objects.add(e5 );
		
		res.setObjects(objects);
		return res;
	}
}
